// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_REP_CHECK_INFO
// * CreateDate    : 2012-1-4 16:51:49
// * Creater       : CodeSmith
// * LastChangeDate: 2012-1-4 16:51:49
// * LastChanger   : 2012-1-4 16:51:49
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class RepCheckInfoTable : TableInfo
    {
        public const string C_TableName = "REP_CHECK_INFO";

        public const string C_CHECK_INFO_ID = "CHECK_INFO_ID";
        public const string C_REGISTER_ID = "REGISTER_ID";
        public const string C_CHECK_CODE = "CHECK_CODE";
        public const string C_CHECK_BY = "CHECK_BY";
        public const string C_CHECK_DATE = "CHECK_DATE";
        public const string C_STATUS = "STATUS";
        public const string C_CREATE_BY = "CREATE_BY";
        public const string C_CREATE_DATE = "CREATE_DATE";
        public const string C_LAST_MODIFIED_BY = "LAST_MODIFIED_BY";
        public const string C_LAST_MODIFIED_DATE = "LAST_MODIFIED_DATE";
        public const string C_APPROVED_DY = "APPROVED_DY";
        public const string C_APPROVED_DATE = "APPROVED_DATE";
        public const string C_ATTACHED_FILE = "ATTACHED_FILE";

        public RepCheckInfoTable()
        {
            _tableName = "REP_CHECK_INFO";
        }

        protected static RepCheckInfoTable _current;
        public static RepCheckInfoTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new RepCheckInfoTable();

            _current.Add(C_CHECK_INFO_ID, new ColumnInfo(C_CHECK_INFO_ID, "CheckInfoId", true, typeof(string)));
            _current.Add(C_REGISTER_ID, new ColumnInfo(C_REGISTER_ID, "RegisterId", false, typeof(string)));
            _current.Add(C_CHECK_CODE, new ColumnInfo(C_CHECK_CODE, "CheckCode", false, typeof(string)));
            _current.Add(C_CHECK_BY, new ColumnInfo(C_CHECK_BY, "CheckBy", false, typeof(string)));
            _current.Add(C_CHECK_DATE, new ColumnInfo(C_CHECK_DATE, "CheckDate", false, typeof(DateTime)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS, "Status", false, typeof(string)));
            _current.Add(C_CREATE_BY, new ColumnInfo(C_CREATE_BY, "CreateBy", false, typeof(string)));
            _current.Add(C_CREATE_DATE, new ColumnInfo(C_CREATE_DATE, "CreateDate", false, typeof(DateTime)));
            _current.Add(C_LAST_MODIFIED_BY, new ColumnInfo(C_LAST_MODIFIED_BY, "LastModifiedBy", false, typeof(string)));
            _current.Add(C_LAST_MODIFIED_DATE, new ColumnInfo(C_LAST_MODIFIED_DATE, "LastModifiedDate", false, typeof(DateTime)));
            _current.Add(C_APPROVED_DY, new ColumnInfo(C_APPROVED_DY, "ApprovedDy", false, typeof(string)));
            _current.Add(C_APPROVED_DATE, new ColumnInfo(C_APPROVED_DATE, "ApprovedDate", false, typeof(DateTime)));
            _current.Add(C_ATTACHED_FILE, new ColumnInfo(C_ATTACHED_FILE, "AttachedFile", false, typeof(string)));

        }

        public ColumnInfo CHECK_INFO_ID
        {
            get { return this[C_CHECK_INFO_ID]; }
        }

        public ColumnInfo REGISTER_ID
        {
            get { return this[C_REGISTER_ID]; }
        }

        public ColumnInfo CHECK_CODE
        {
            get { return this[C_CHECK_CODE]; }
        }

        public ColumnInfo CHECK_BY
        {
            get { return this[C_CHECK_BY]; }
        }

        public ColumnInfo CHECK_DATE
        {
            get { return this[C_CHECK_DATE]; }
        }

        public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }

        public ColumnInfo CREATE_BY
        {
            get { return this[C_CREATE_BY]; }
        }

        public ColumnInfo CREATE_DATE
        {
            get { return this[C_CREATE_DATE]; }
        }

        public ColumnInfo LAST_MODIFIED_BY
        {
            get { return this[C_LAST_MODIFIED_BY]; }
        }

        public ColumnInfo LAST_MODIFIED_DATE
        {
            get { return this[C_LAST_MODIFIED_DATE]; }
        }

        public ColumnInfo APPROVED_DY
        {
            get { return this[C_APPROVED_DY]; }
        }

        public ColumnInfo APPROVED_DATE
        {
            get { return this[C_APPROVED_DATE]; }
        }

        public ColumnInfo ATTACHED_FILE
        {
            get { return this[C_ATTACHED_FILE]; }
        }



    }
}

